package com.by.service;

import com.by.bean.Management;
import com.by.common.bean.PageBean;
import com.by.common.crud.BaseService;

import java.io.Serializable;


/**
 * @author HY
 * @version 1.0
 * @description
 * @date 2025/2/14
 * @since JDK21
 */
public interface ManagementService extends BaseService<Management> {


    PageBean query(int page, int pageSize);

    int save(Management mag);

    Management queryByName(String username);

    int delete(String id);

    int update(Management mag);
}
